package com.example.entity;

import io.swagger.v3.oas.annotations.media.Schema;

@Schema(name = "Admin", description = "管理员信息")
public class Avatar extends Account {

    /**
     * 主键ID
     */
    @Schema(description = "主键ID")
    private Integer id;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "创建时间")
    private String createTime;

    @Override
    public String getAvatar() {

        return avatar;
    }

    @Override
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    @Override
    public Integer getId() {
        return id;
    }

    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
